package com.base.mapper.voipmapper;

import com.base.po.voip.Helpers;
import com.base.utils.Page;

import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface HelpersMapper {

	int deleteByPrimaryKey(String id);

	int insert(Helpers record);

	int insertSelective(Helpers record);
	
	Helpers selectByPrimaryKey(String id);

	int updateByPrimaryKeySelective(Helpers record);

	int updateByPrimaryKey(Helpers record);
	
	// 分页
	int countByAll(@Param("status") Integer status, @Param("agentid") String agentid, @Param("name") String name);

	List<Helpers> selectByAll(@Param("page") Page page, @Param("status") Integer status,
                              @Param("agentid") String agentid, @Param("name") String name);
}